package com.vhuomai.system.mapper;

import com.vhuomai.mybatis.mapper.auto.AutoMapper;
import com.vhuomai.system.entity.BaseSysShare;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author harris
 */
@Mapper
public interface ShareMapper extends AutoMapper<BaseSysShare, Integer> {
    
    List<BaseSysShare> findByMerchant(@Param("merchantNo") Integer merchantNo);
    
    BaseSysShare findByPageKey(@Param("merchantNo") Integer merchantNo,
                               @Param("pageKey") String pageKey);
}
